package com.siwei.mes.mapper.laboratory;

import com.siwei.mes.common.dataSource.DataSource;
import com.siwei.mes.common.dataSource.DataSourceNames;
import com.siwei.mes.entity.laboratory.WtConsign;
import com.siwei.mes.entity.laboratory.WtConsignWithSample;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface WTConsignWithSampleMapper {


    //新增上海协会混凝土台账与任务单关联表
    @DataSource(DataSourceNames.LABORATORY)
    public void insertWtConsignWithSample(WtConsignWithSample wC);


    //修改上海协会混凝土台账与任务单关联表
    @DataSource(DataSourceNames.LABORATORY)
    public void updateWtConsignWithSample(WtConsignWithSample wC);

    //查询上海协会混凝土台账与任务单关联表
    @DataSource(DataSourceNames.LABORATORY)
    public List<WtConsignWithSample> findWtConsignWithSample(WtConsignWithSample wC);

    @DataSource(DataSourceNames.LABORATORY)
    public void delWtConsignWithSample(@Param("sampleId") String sampleId);
}
